package ${packageName};

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import lombok.Data;
import java.io.Serializable;

/**
* Created by ${author} on ${date}
*/
@Data
public class ${className} implements Serializable {
    <#if fieldList ?? && (fieldList ? size > 0) >
        <#list fieldList as attr>
            /**
            * ${attr.fieldDesc}
            */
            private ${attr.fieldType} ${attr.fieldName};
        </#list>
    </#if>

    @Override
    public String toString() {
        return ReflectionToStringBuilder.toString(this, ToStringStyle.JSON_STYLE);
    }
}
